<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('date')); ?>:</b>
	<?php echo CHtml::encode(Yii::app()->format->datetime(strtotime($data->date)));?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('productId')); ?>:</b>
	<?php echo CHtml::encode($data->product->name."(".$data->product->model.")"); ?>
	<br />

	<b>Customer:</b>
	<?php echo CHtml::encode($data->firstName.' '.$data->LastName); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('status')); ?>:</b>
	<?php echo CHtml::encode(Service::getStatusArray($data->status)); ?>
	<br />
	<?php /*

	<b><?php echo CHtml::encode($data->getAttributeLabel('firstName')); ?>:</b>
	<?php echo CHtml::encode($data->firstName); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('LastName')); ?>:</b>
	<?php echo CHtml::encode($data->LastName); ?>
	<br />	
	
	<b><?php echo CHtml::encode($data->getAttributeLabel('technicianId')); ?>:</b>
	<?php echo CHtml::encode($data->technicianId); ?>
	<br />
		
	<b><?php echo CHtml::encode($data->getAttributeLabel('purchaseDate')); ?>:</b>
	<?php echo CHtml::encode($data->purchaseDate); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('address')); ?>:</b>
	<?php echo CHtml::encode($data->address); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('suburb')); ?>:</b>
	<?php echo CHtml::encode($data->suburb); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('postcode')); ?>:</b>
	<?php echo CHtml::encode($data->postcode); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('state')); ?>:</b>
	<?php echo CHtml::encode($data->state); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('homePhone')); ?>:</b>
	<?php echo CHtml::encode($data->homePhone); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('workPhone')); ?>:</b>
	<?php echo CHtml::encode($data->workPhone); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('mobile')); ?>:</b>
	<?php echo CHtml::encode($data->mobile); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('email')); ?>:</b>
	<?php echo CHtml::encode($data->email); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('stairs')); ?>:</b>
	<?php echo CHtml::encode($data->stairs); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('serialNo')); ?>:</b>
	<?php echo CHtml::encode($data->serialNo); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('generalComment')); ?>:</b>
	<?php echo CHtml::encode($data->generalComment); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('partComment')); ?>:</b>
	<?php echo CHtml::encode($data->partComment); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('warranty')); ?>:</b>
	<?php echo CHtml::encode($data->warranty); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('faultDescription')); ?>:</b>
	<?php echo CHtml::encode($data->faultDescription); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('customerAccountNo')); ?>:</b>
	<?php echo CHtml::encode($data->customerAccountNo); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('storeTinNo')); ?>:</b>
	<?php echo CHtml::encode($data->storeTinNo); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('otherInstruction')); ?>:</b>
	<?php echo CHtml::encode($data->otherInstruction); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('dateCommenced')); ?>:</b>
	<?php echo CHtml::encode($data->dateCommenced); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('dateCompleted')); ?>:</b>
	<?php echo CHtml::encode($data->dateCompleted); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('chargeApplicable')); ?>:</b>
	<?php echo CHtml::encode($data->chargeApplicable); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('customerCharge')); ?>:</b>
	<?php echo CHtml::encode($data->customerCharge); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('fundsRecovered')); ?>:</b>
	<?php echo CHtml::encode($data->fundsRecovered); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('paymentType')); ?>:</b>
	<?php echo CHtml::encode($data->paymentType); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('technicainPaid')); ?>:</b>
	<?php echo CHtml::encode($data->technicainPaid); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('technicainPaidAmount')); ?>:</b>
	<?php echo CHtml::encode($data->technicainPaidAmount); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('workCarriedOut')); ?>:</b>
	<?php echo CHtml::encode($data->workCarriedOut); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('note')); ?>:</b>
	<?php echo CHtml::encode($data->note); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('storeId')); ?>:</b>
	<?php echo CHtml::encode($data->storeId); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('emailNote')); ?>:</b>
	<?php echo CHtml::encode($data->emailNote); ?>
	<br />

	*/ ?>

</div>